
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>精灵图</title>

</head>
<body>
    <div class="c"></div>
    <div class="q"></div>
    <div class="y"></div>
    
    
    <style>
        .c{
            width: 200px;
            height: 200px;
            background-image: url(../鲸鱼.png);
            background-repeat: no-repeat;
            background-position: -320px -10px;
        }
        .q{
            width: 200px;
            height: 200px;
            background-image: url(../鲸鱼.png);
            background-repeat: no-repeat;
            background-position:-3px -580px;
            margin-left: 20px;

        }
        
        .y{
            width: 200px;
            height: 200px;
            background-image: url(../鲸鱼.png);
            background-repeat: no-repeat;
            background-position:-520px -780px ;
            margin-left: 20px;

        }
   
    </style>
</body>
</html>